package com.bruce.service;

import com.bruce.model.User;
import com.github.pagehelper.PageInfo;

public interface UserService {

	int insert(User impl); 
	
	int update(User impl); 
	
	public PageInfo<User> selectAll(int pageNum, int pageSize);
	
	boolean isPermission(int userid , String url);
	
	int getId(User impl);
	
	User getUserInfoByname(String nickname);
	
	public void setLastLoginTime(User userImpl);
}
